switch $TERM
    case 'st-*' # suckless' simple terminal
                # Enable keypad, do it once before fish_postexec ever fires
        tput smkx
        function st_smkx --on-event fish_postexec
            tput smkx
        end
        function st_rmkx --on-event fish_preexec
            tput rmkx
        end
end
alias abook='abook -C ~/.config/abook/abookrc --datafile $HOME/.config/abook/addressbook'
alias pdate='sudo pacman -Syu'
alias n='nvidia-xrun'
alias s='startx'
alias rm='rm -I -r'
alias mkdir='mkdir -p -v'
alias download='sudo pacman -Sy'
alias remove='sudo pacman -Rs'
alias v='nvim'
alias vpon='systemctl start openvpn-client@br.service'
alias vpoff='systemctl stop openvpn-client@br.service'
alias vpstatus='systemctl status openvpn-client@br.service'
alias r='vfm'
alias cdc='cd ~/.config'
alias build='cmake -DGeant4_DIR=/home/amaro/geant4/geant4-install/lib64/Geant4-10.5.0/'
alias pc='pass -c'
alias cp='cp -r'
alias b='$EDITOR ~/.config/fish/config.fish'
alias d='disown'
alias cd..='cd ..'
alias Abuild='rm ./* && cmake ../top-bottom && make && ./AngraG4Simulation -b -r (random) -v 11 -v 21 -v 30 -v 40 -v 51 -p 1 -i muons_no_pad.hepevt && python pmt_hit.py'
alias config='/usr/bin/git --git-dir=/home/amaro/.myconf/ --work-tree=/home/amaro'
alias calcurse='calcurse -D ~/.config/calcurse/'

